const loginController = require('../controller/loginController')
const systemController = require('../controller/systemController')
const buttonGroupController = require('../controller/buttonGroupController')
const ossController = require('../controller/ossController')
const sectionController = require('../controller/sectionController')
const categoryController = require('../controller/categoryController')
const eps_articleController = require('../controller/eps_articlecontroller')
const uplaod = require('../ztest/05')
const remove = require('../ztest/06')

function initRouter(express) {
    express.use('/api', loginController)
    express.use('/api', systemController)
    express.use('/api', buttonGroupController)
    express.use('/api', ossController)
    express.use('/api', sectionController)
    express.use('/api', categoryController)
    express.use('/api', eps_articleController)
    express.use('/api', uplaod)
    express.use('/api', remove)
}

module.exports = initRouter
